package org.tsinghua.vaccine.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author ipenta
 * @ClassName: InoculationVo
 * @Description: TODO
 * @date 2017-09-20 下午5:10
 */

public class InoculationVo {

	@ApiModelProperty(value = "交易 ID，10位单位编码+8位日期+4位流水号", example = "0000000000201701010001")
	private String orderNo;

	@ApiModelProperty("交易类型")
	private String orderType;

	@ApiModelProperty(value = "交易时间，格式如YYYY-MM-DD hh:mm:ss",example="2017-09-20 09:02:33")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date orderDate;

	@ApiModelProperty("疫苗编码")
	private String vaccineId;

	@ApiModelProperty("儿童编码,全国唯一编码")
	private String childCode;

	@ApiModelProperty("接种单位编码")
	private String recodeOrganCode;

	@ApiModelProperty("接种医生编码")
	private String recodeOperCode;

	@ApiModelProperty("订单废弃标识符")
	private String scrapFlag;

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}

	public Date getOrderDate() {
		return orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	public String getVaccineId() {
		return vaccineId;
	}

	public void setVaccineId(String vaccineId) {
		this.vaccineId = vaccineId;
	}

	public String getChildCode() {
		return childCode;
	}

	public void setChildCode(String childCode) {
		this.childCode = childCode;
	}

	public String getRecodeOrganCode() {
		return recodeOrganCode;
	}

	public void setRecodeOrganCode(String recodeOrganCode) {
		this.recodeOrganCode = recodeOrganCode;
	}

	public String getRecodeOperCode() {
		return recodeOperCode;
	}

	public void setRecodeOperCode(String recodeOperCode) {
		this.recodeOperCode = recodeOperCode;
	}

	public String getScrapFlag() {
		return scrapFlag;
	}

	public void setScrapFlag(String scrapFlag) {
		this.scrapFlag = scrapFlag;
	}
}
